<include file="assets/header" />

<title>组织机构列表</title>

<style>
    #app {
        width: 95%;
        /*height: 650px;*/
        margin: 10px auto;
        padding-top: 10px;
        border: 2px solid #cccccc;
    }

    .container {
        width: 600px;
        margin: 50px auto;
    }

    .el-table .warning-row {
        background: oldlace;
    }

    .el-table .success-row {
        background: #f0f9eb;
    }
</style>

</head>

<body>

    <div id="app">

        <el-row>



            <el-row>
                <el-col>
                    <template>
                        <el-table :data="tableData.rows" size="small" stripe border element-loading-text="拼命加载中"
                            style="width:100%;" :header-cell-style="{ background: '#0e3372', color: '#cccccc' }"
                            :row-class-name="tableRowClassName">
                            <el-table-column prop="id" label="机构id" min-width="50">
                            </el-table-column>
                            <el-table-column prop="zzjg_mc" label="组织机构名称" min-width="100">
                                <template slot-scope="scope">
                                    <el-link :href="`/xmgl/xm/htinfo?id=`+scope.row.id"
                                        target="_blank">{{scope.row.zzjg_mc}}</el-link>
                                </template>
                            </el-table-column>
                            <el-table-column prop="zzjg_jc" label="组织机构简称" min-width="80">
                            </el-table-column>
                            <el-table-column prop="create_time" label="创建日期" min-width="65">
                                <template slot-scope="scope">
                                    <!--i class="el-icon-time"></i-->
                                    <span style="margin-left: 0px">{{ unixtimetostr(scope.row.create_time) }}</span>
                                </template>
                            </el-table-column>
                            <el-table-column prop="update_time" label="更新日期" min-width="65px">
                                <template slot-scope="scope">
                                    <!--i class="el-icon-time"></i-->
                                    <span style="margin-left: 0px">{{ unixtimetostr(scope.row.update_time) }}</span>
                                </template>
                            </el-table-column>
                            <el-table-column prop="status" label="状态" min-width="60px">
                                <template slot-scope="scope">
                                    <!--i class="el-icon-time"></i-->
                                    <span v-if="scope.row.status == 0">禁用</span>
                                    <span style="color:red;" v-else>启用</span>
                                </template>
                            </el-table-column>

                            <el-table-column label="操作" min-width="100">
                                <template slot-scope="scope">
                                    <!--el-button @click="tableHandleClick(scope.row)" type="text"
                                        size="small">查看</el-button-->
                                    <el-link type="primary" target="_blank"
                                        :href="`/xmgl/xm/htinfo?id=`+scope.row.id">管理</el-link>
                                    <el-link type="primary" target="_blank"
                                        :href="`/xmgl/xm/edit?id=`+scope.row.id">编辑</el-link>
                                </template>
                            </el-table-column>
                        </el-table>
                        <div  class="block">
                        <el-pagination background :hide-on-single-page="false" @size-change="tableHandleSizeChange"
                            @current-change="tableHandleCurrentChange" 
                            :page-sizes="[10,20, 30, 50, 100]" 
                            :current-page.sync="tableData.pageNumber"
                            :page-size="tableData.pageSize" 
                            :page-count="tableData.totalPage" 
                            :total="tableData.total">
                        </el-pagination>
                    </div>
                    </template>
                </el-col>
            </el-row>

        </el-row>



    </div>
    <script type="module" type="text/javascript" src="__TMPL__/xmgl/assets/zzjg_index.js?ver20241111"></script>

    <include file="assets/footer" />

</body>

</html>